import request from '@/api/request'

export function saveOrder(params) {
    return request({
        url: '/userproduct/save',
        method: 'POST',
        data: params
    })
}

export function getOrderList(account) {
    return request({
        url: `/userproduct/getList/${account}`,
        method: 'GET'
    })
}